from django.urls import path

from czjr.views import CzjrViewSet

urlpatterns = [
    path(r'getSrzc', CzjrViewSet.as_view({'get': 'get_srzc'}), name='getSrzc'),
    path(r'getHbgyl', CzjrViewSet.as_view({'get': 'get_hbgyl'}), name='getHbgyl'),
    path(r'getLlhl', CzjrViewSet.as_view({'get': 'get_llhl'}), name='getLlhl'),
    path(r'export', CzjrViewSet.as_view({'post': 'export_to_excel'}), name='export_to_excel'),
    path(r'predict', CzjrViewSet.as_view({'post': 'predict'}), name='predict')
]